<include file="header"/>
<div class="wraper" js="wapjs/base/officialcar/js/torderlist">
	<div class="head clearfix">
		<a href="/base/officialCar/index/conf_id/{BEESCRM:$conf_id}" class="iconfont icon-zuo pull-left"></a>
		<span class="head-name pull-left">我的预约</span>
		<!-- <a href="./price.html" class="pull-left text-right">价目表</a> -->
	</div>	
	<if condition="count($myOrderList) gt 0 && !empty($myOrderList)">
		<volist name='myOrderList' id='vo'>
			<div class="lists">
				<a href="/base/officialCar/tOrderDetail/order_id/{BEESCRM:$vo.order_id}/conf_id/{BEESCRM:$conf_id}" class="list-line clearfix"><span class="text-{BEESCRM:$vo.color}">{BEESCRM:$status[$vo['status']]}</span><span class="iconfont icon-p-you pull-right"></span></a>
				<div class="text-12 tb-mode">
					<a href="/base/officialCar/tOrderDetail/order_id/{BEESCRM:$vo.order_id}/conf_id/{BEESCRM:$conf_id}" class="tb-cell">
						<p>上车地点：{BEESCRM:$vo.user_location}</p>
						<p>目的地：{BEESCRM:$vo.user_destinction}</p>
						<p>用车时间：{BEESCRM:$vo.car_start_time|date="Y年m月d日 H:i",###}</p>
					</a>
					<div class="tb-cell small-btn text-right">
						<switch name="vo.status">
							<case value="1"><a url="/base/officialCar/doCancel/order_id/{BEESCRM:$vo.order_id}/conf_id/{BEESCRM:$conf_id}" order-id="{BEESCRM:$vo.order_id}" class="btn white-btn">取消预约</a></case>
							<case value="5"><a href="/base/officialCar/tOrderComment/order_id/{BEESCRM:$vo.order_id}/conf_id/{BEESCRM:$conf_id}" class="btn bg-orange">去评价</a></case>
						</switch>
					</div>
				</div>
			</div>
		</volist>
		<input type="hidden" id="conf_id" value="{BEESCRM:$conf_id}" />
	<else/>
		<div class="norecord">
	        <img src="/assets/base/officialcar/images/noappoint.png"/>
	        <p class="text-gray">还没有预约哦~赶快发起吧！</p>
			<a href="/base/officialCar/Index/conf_id/{BEESCRM:$conf_id}" class="btn bg-green">发起预约</a>
		</div>
	</if>
</div>
<include file="footer"/>